home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSHHHHAAAARRRREEEEPPPPRRRRIIIINNNNTTTTEEEERRRRSSSS((((1111MMMM)))) SSSSHHHHAAAARRRREEEEPPPPRRRRIIIINNNNTTTTEEEERRRRSSSS((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- sharePrinters - share local printers with remote hosts.
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////sssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss ----aaaallllllll
- ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////sssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss ----hhhhoooossssttttssss _h_o_s_t-_n_a_m_e [ ... ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- sssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss is a privileged command that enables the sharing of local
- printers by editing the ._r_h_o_s_t_s file for the "lp" user account. When
- "lp" on one IRIS can _r_l_o_g_i_n(1C) to the "lp" account on another IRIS, the
- first IRIS can then forward print jobs to the second IRIS.
-
- When the ----aaaallllllll option is used, /_v_a_r/_s_p_o_o_l/_l_p/._r_h_o_s_t_s is edited to contain
- one line with the single character '+'. This enables remote access for
- all hosts.
-
- When the ----hhhhoooossssttttssss option is used, /_v_a_r/_s_p_o_o_l/_l_p/._r_h_o_s_t_s is edited to
- contain one line for each host specified on the command line. The
- canonical host name is used for each host specified. Additionally, if
- the "lp" account has no password, '*' is written into the password field
- for the "lp" account in /etc/passwd. This disables logins to the "lp"
- account from machines that are not mentioned in /_v_a_r/_s_p_o_o_l/_l_p/._r_h_o_s_t_s (or
- /_e_t_c/_h_o_s_t_s._e_q_u_i_v; see below). This restricts remote access to those hosts
- specified on the sssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss command line.
-
- CCCCAAAAVVVVEEEEAAAATTTTSSSS
- sssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss ----hhhhoooossssttttssss will not succeed in restricting access to the hosts
- passed in on the command line if one of the files /_e_t_c/_h_o_s_t_s._e_q_u_i_v or
- /_e_t_c/_h_o_s_t_s._l_p_d contains entries other than "localhost". hosts named in
- either of these files will also be able to submit print jobs.
- sssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss detects these cases and issues warnings to the system
- administration log, /_v_a_r/_s_y_s_a_d_m/_s_a_l_o_g.
-
- If one of the hosts passed to sssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss ----hhhhoooossssttttssss is also sharing
- printers, it is possible that unauthorized hosts can forward jobs through
- that host.
-
- FFFFIIIILLLLEEEESSSS
- /var/spool/lp/.rhosts List of hosts which can rlogin to the lp
- account.
- /etc/passwd Database of user accounts.
- /etc/hosts.equiv List of equivalent hosts.
- /etc/hosts.lpd Remote access file for the bsd spooler,
- llllppppdddd(1M).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- sysmgr(1M), runpriv(1M), rlogin(1C), unsharePrinters(1M), lpsched(1M),
- lpd(1M), hosts.equiv(4).
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-